'use client';

import { Provider } from "react-redux";
import store from "../redux/store";
import AccessLayout from "../access/AccessLayout";
import { RootStyleRegistry } from "./RootStyleRegistry";

export default function Providers({ children }: { children: React.ReactNode }) {

  return (
    <RootStyleRegistry>
      <Provider store={store}>
        <AccessLayout>{children}</AccessLayout>
      </Provider>
    </RootStyleRegistry>
  );
} 